package com.adkun.community.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
 * 又拍云配置类
 * @author adkun
 */
@Data
@ConfigurationProperties(prefix = "upyun")
public class UpYunProperties {

    private String username;
    private String password;
    private int outTime;
    private BucketName bucketName;

    @Data
    public static class BucketName {
        private String header;
        private String share;
    }

}
